import { Addon, Node } from '@antv/x6'
import { Start } from './modules/Start'
import { OptionalFlow } from './modules/OptionalFlow'
interface IFNodeGroups {
  /**节点标题 */
  group: Addon.Stencil.Group
  /**节点列表 */
  node: Node.Metadata[]
}

/**模板节点配置 */
export const stencilNodeOptionStep: IFNodeGroups[] = [
  {
    group: {
      name: 'basic',
      title: '基础节点',
      graphHeight: 500
    },
    node: [
      Start,
      OptionalFlow,
    ]
  }
]
